LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional
LOCAL_DEX_PREOPT = false
LOCAL_SRC_FILES := \
    $(call all-java-files-under, src)

LOCAL_STATIC_JAVA_LIBRARIES += \
    android-support-v4 \
    android-support-v7-recyclerview \
    android-support-v7-appcompat

LOCAL_MODULE := installer

# 编译apk 时需要
#LOCAL_RESOURCE_DIR := \
#    frameworks/support/v7/appcompat/res \
#    $(LOCAL_PATH)/res

LOCAL_AAPT_FLAGS := --auto-add-overlay \
    --extra-packages android.support.v14.preference:android.support.v7.appcompat

LOCAL_PACKAGE_NAME := AppInstaller
LOCAL_CERTIFICATE := platform

LOCAL_PRIVILEGED_MODULE := true


# 编译成 apk
#include $(BUILD_PACKAGE)
# 编译成jar
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))